package br.com.escolaespacocrianca.fineec.model;

import javax.persistence.Entity;

@Entity
public class PhoneNumberInfo extends BaseEntity {
	
	private String ddd;
	private String number;
	private String location;
	
	
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getDdd() {
		return ddd;
	}
	public void setDdd(String ddd) {
		this.ddd = ddd;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	
	@Override
	public String toString(){
		String string =  ddd + number;
		return string; 
	}
	
}
